from flask_restful import Api

from apps.settingApi.api.switchDatabaseExample.views import switchDatabaseListView

switch_database_example_api = Api(prefix='/switch/database/')

# Flask动态切换数据库使用示例

# SQLAlchemy模型动态切换数据库
switch_database_example_api.add_resource(switchDatabaseListView,'/switchdatabaselist/',endpoint="switchdatabaselist")
